<div {guanlians}>
	<div class="form-group-title" ng-if="'{title}'">
		{{check_show_lang('{title}')}}
	</div>
	<div class="table-responsive" ng-class="{'panel-body':'{title}'}" ng-init="checkarray({tovalue},'{name}')">
			<table class="table jinyun-table table-hover vertical-middle jinyun-form">
				<thead>
					<tr>
						<th >图片</th>
						<th >链接地址</th>
						<th class="text-right" style="word-break : break-all;">操作</th>
					</tr>
				</thead>
				<tbody id="re-items">
					<tr ng-repeat="item in {tovalue}.{name}">
						<th><img ng-click="image(item,'image')" ng-src="{{tomedia(item.image) || '../core/resource/images/nopic-small.jpg'}}" style="width:40px;height:40px;padding:1px;border:1px solid #ccc;"/></th>
						<th ng-click="choose_link(item,'url')">{{item.url || '设置链接'}}</th>
						<td class="text-right">
							<a href="javascript:;" ng-click="{tovalue}.{name}.splice($index,1)" title="删除此条目" class="btn btn-primary btn-sm"><i class="fa fa-times"></i></a>
						</td>
					</tr>
					<tr>
						<td colspan='3' class="text-left">
							<a class="color-gray add-new-keyword" href="javascript:;" ng-click="newfield={};{tovalue}.{name}.push(newfield)">
								<span class="add-icon"><i class="fa fa-plus"></i></span>
								<span class="text">添加一张幻灯片</span>
							</a>
						</td>
					</tr>
				</tbody>
			</table>
	</div>
</div>